﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace EnterpriseWebsiteApi.ActionResults
{
    public class Unauthorized : JsonResult
    {
        public Unauthorized(object data = null)
            : base(new { Code = 401, exception = "登录过期", Data = data })
        {

        }
    }
}
